<?php
foreach ($posts as $value)
{
	echo $value['id'];
}